import { Breadcrumb } from "antd";
import { useEffect } from "react";
import { href, useLocation, useRoutes } from "react-router-dom";

const PagePath = () => {
  const items = [{ title: "Dashboard" }, { title: "workbench" , href:"/dashboard/workbench" }];

  const { pathname } = useLocation();
  

  useEffect(() => {
  
  })

  return (
    <Breadcrumb
      style={{ margin: "16px 0" }}
      items={ items }
    />
  );
};

export default PagePath;
